let Mock = require("mockjs");
Mock.mock("/api/homepage", {
    // 商品列表
    shopList: [
        {
            id: 0,
            imgsrc: "https://res7.vmallres.com/pimages/uomcdn/CN/pms/202203/gbom/6941487235759/428_428_CC2A6DB1FFDD643EDA4239D598861430mp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 1,
            imgsrc: "https://res2.vmallres.com/pimages/product/6941487213818/428_428_8ADEEBC234FC8933EB9DBA72E44A17609448859287E9F90Amp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 2,
            imgsrc: "https://res2.vmallres.com/pimages/uomcdn/CN/pms/202203/gbom/GB4201080008602/428_428_C8F12B0662AB08FC0C2C39162FAA84EAmp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 3,
            imgsrc: "https://res5.vmallres.com/pimages/product/6941487236862/428_428_06856CD9D988AE79E7E746D321E6017DFB577FB26EF9C909mp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 4,
            imgsrc: "https://res2.vmallres.com/pimages/uomcdn/CN/pms/202202/gbom/8437010828430/428_428_E2F40B3D034B59FDCEF83D6244591FA1mp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 5,
            imgsrc: "https://res8.vmallres.com/pimages/product/6901443381494/428_428_EE0830231483A4C3B1D7CAB975049B85AEEE2B6CAE79B1A7mp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 6,
            imgsrc: "https://res1.vmallres.com/pimages/uomcdn/CN/pms/202203/gbom/6901443246991/428_428_69C6B641088EBBFF2161A881A6EC02DBmp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 7,
            imgsrc: "https://res5.vmallres.com/pimages/product/6941487221455/428_428_2A5FE1BEDF9C094DC00BC2F2BCFA0DA86B20BFC5854B64ECmp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 8,
            imgsrc: "https://res3.vmallres.com/pimages/product/6941487234127/428_428_D4DE8B6F5F25F914AE8D244F93500E52455CB694209CB8A2mp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        },
        {
            id: 9,
            imgsrc: "https://res6.vmallres.com/pimages/uomcdn/CN/pms/202112/gbom/6941487238125/428_428_0A1DC75E3711DBE13E3D6FF117532B77mp.png",
            title: "HUAWEI P50",
            titleText: "直屏旗舰",
            price: "￥4488",
            info: "增送积分"
        }
    ]
})